package com.fresh.utils;

/**
 * ******************  类说明  *********************
 * class       :  Enums
 * @author     :  mengxiangdong
 * @version    :  1.0  
 * description :  枚举常量类
 * @see        :                        
 * ***********************************************
 */
public class Enums {

	/**
	 * ******************  类说明  *********************
	 * class       :  SEQ_NAME
	 * @author     :  mengxiangdong
	 * @version    :  1.0  
	 * description :  序列名称
	 * @see        :                        
	 * ***********************************************
	 */
	
	public static enum RespCode {
		SUCCESS("0000", "成功"),
		BULL_LENDING("3","多头借贷"),
		UNKNOWN("0","未知"),
		BLACKLIST("6","黑名单"),
		INSUFFICIENT_SURPLUS("1","剩余金额不足"),
		REMAINING_SUFFICIENT_AMOUNT("2","剩余足够金额");
		;
		private String respCode;
		private String respMsg;
		private RespCode(String respCode, String respMsg){
			this.respCode = respCode;
			this.respMsg = respMsg;
		}
		
		@Override
		public String toString(){
			return this.respCode;
		}
		
		public String getRespCode(){
			return this.respCode;
		}
		
		public String getRespMsg() {
			return respMsg;
		}
	}
}
